package com.dsz.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dsz.dao.HouseDao;
import com.dsz.po.House;
@Service
@Transactional
public class HouseServiceImpl implements HouseService {
	//依赖注入
	@Autowired
	private HouseDao houseDao;
	
	//根据房间类型查找价格
	@Override
	public House findHousePrice(String house_name) {
		House house = houseDao.findHousePrice(house_name);
		return house;
	}

}
